package com.banksoft.admin.service.impl;

import com.banksoft.admin.dao.UserAddressDao;
import com.banksoft.admin.entity.UserAddress;
import com.banksoft.admin.service.UserAddressService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by vanjoger on 2017/1/9.
 */
@Service
public class UserAddressServiceImpl implements UserAddressService {

    @Autowired
    UserAddressDao userAddressDao;


    @Override
    public List<UserAddress> listByUserId(String openId) {
        return this.userAddressDao.listByUserId(openId);
    }
}
